package com.yq.cp.entity.data.vo;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;

import java.math.BigDecimal;

@Data
@JsonIgnoreProperties(ignoreUnknown = true)
public class SjcjXqVo {
    @JsonProperty(value = "TagNO")
    private String TagNO;//设备位号
    @JsonProperty(value = "ID")
    private String ID;//电表SN码
    private String collectTime;//网关采集时间
    @JsonProperty(value = "Total")
    private BigDecimal Total;//正向总
    @JsonProperty(value = "Tip")
    private BigDecimal Tip;//正向尖
    @JsonProperty(value = "Peak")
    private BigDecimal Peak;//正向峰
    @JsonProperty(value = "Normal")
    private BigDecimal Normal;//正向平
    @JsonProperty(value = "Valley")
    private BigDecimal Valley;//正向谷
    private BigDecimal re_Total;//反向总
    private BigDecimal re_Tip;//反向尖
    private BigDecimal re_Peak;//反向峰
    private BigDecimal re_Normal;//反向平
    private BigDecimal re_Valley;//反向谷
    @JsonProperty(value = "Ua")
    private BigDecimal Ua;//A相电压
    @JsonProperty(value = "Ub")
    private BigDecimal Ub;//B相电压
    @JsonProperty(value = "Uc")
    private BigDecimal Uc;//C相电压
    @JsonProperty(value = "Ia")
    private BigDecimal Ia;//A相电流
    @JsonProperty(value = "Ib")
    private BigDecimal Ib;//B相电流
    @JsonProperty(value = "Ic")
    private BigDecimal Ic;//C相电流
    @JsonProperty(value = "P")
    private BigDecimal P;//功率

    private BigDecimal temperature;//温度
    private BigDecimal humidity;//湿度
    @JsonProperty(value = "PM25")
    private BigDecimal PM25;
    @JsonProperty(value = "PM10")
    private BigDecimal PM10;
    private BigDecimal illuminance;//光照
    private BigDecimal irradiation;//辐照

    /*
    {
            "TagNO": "xxxx",
            "ID": "xxxx",
            "collectTime": 1734152278,
            "temperature": 10.1,
            "humidity": 36.8,
            "PM25": 45,
            "PM10": 67,
            "illuminance": 78545,
            "irradiation": 615
        }
    * */
     /*
    {
            "TagNO": "B01",
            "ID": 130001241059,
            "collectTime": 1733194942,
            "Total": 71.599998,
            "Tip": 0,
            "Peak": 11.6,
            "Normal": 33.199999,
            "Valley": 26.400001,
            "re_Total": 112095.195312,
            "re_Tip": 31508.798828,
            "re_Peak": 48700.800781,
            "re_Normal": 30288.000488,
            "re_Valley": 1596.799927
        }
    * */
}
